@import './_var.scss';
.ai-checkbox,
.ai-radio {
  position: relative;
  display: inline-block;
  margin: 9px 9px 0 0;
  padding: 4px 12px;
  border: 1px solid var(--gray-6);
  border-radius: 9px;
  background: var(--white);
  color: var(--gray-2);
  font-size: $font-size-sm;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  transition: 0.15s ease-in-out;
  -webkit-tap-highlight-color: transparent;
}

.ai-checkbox-group,
.ai-radio-group {
  margin-top: -3px;
}

.ai-radio-group--block {
  .ai-radio {
    display: block;
    margin-right: 9px;
  }
}

.ai-checkbox-group--block {
  .ai-checkbox {
    display: block;
    margin-right: 0;
  }
}

.ai-checkbox--disabled,
.ai-radio--disabled {
  opacity: 0.5;
  cursor: initial;
}

.ai-checkbox--checked,
.ai-radio--checked {
  border-color: var(--brand-1);
  color: var(--brand-1);
}

.ai-checkbox-input,
.ai-radio-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer !important;
}
